//-----------------------------------------------------------------------------
//	File: mgui_font.c
//	Author: xialing
//		font of mgui
//-----------------------------------------------------------------------------

#ifndef __MGUI_FONT_H__
#define __MGUI_FONT_H__

#include "mgui_config.h"

// fonts
#define USE_FONT_12
#define USE_FONT_18
#define USE_FONT_24

// font type define
typedef struct MguiFont_Type {
	uint8_t w; // width
	uint8_t h; // height
	uint8_t b; // number byte of height
	uint8_t *dat; // point of font
} MguiFont_TypeDef;

// font type
#ifdef USE_FONT_12
extern const MguiFont_TypeDef font_12;
#endif
#ifdef USE_FONT_18
extern const MguiFont_TypeDef font_18;
#endif
#ifdef USE_FONT_24
extern const MguiFont_TypeDef font_24;
#endif

#endif
